<form action="<?= base_url() . ADMIN_FOLDER ?>/<?= get_segment(2) ?>/add/" method="post" class="fill-up" >
    <div class="row-fluid">
        <div class="span12">
            <div  class="box corner-all">
                <div class="box-header grd-white corner-top"> <?=lang('label_add')?></div>

                <div id='data_contant' class="padded">






                    <div class="row-fluid">
                        <div class="span5" style="margin-left: 6%;">


                            <div class="input">
                                <label for="name">
                                    <?=lang('label_name')?>
                                </label>
                                <?php echo form_error('name', '<div class="form_error">', '</div>'); ?>
                                <input name="name" id="name" placeholder="<?=lang('label_name')?>" value="<?= set_value('name') ?>" type="text" />

                            </div>



                            <div class="input">
                                <label for="mobile">
                                    <?=lang('label_mobile')?>
                                </label>
                                <?php echo form_error('mobile', '<div class="form_error">', '</div>'); ?>
                                <input name="mobile" id="mobile" placeholder="<?=lang('label_mobile')?>" value="<?= set_value('mobile') ?>" type="text" />

                            </div>


                            <div class="input">
                                <label for="city">
                                    <?=lang('label_city')?>
                                </label>
                                <?php echo form_error('city', '<div class="form_error">', '</div>'); ?>
                                <input name="city" id="city" placeholder="<?=lang('label_city')?>" value="<?= set_value('city') ?>" type="text" />

                            </div>
                        </div>
                        <div class="span5">
                       <div class="input">
                                <label for="username">
                                    <?=lang('label_username')?>
                                </label>
                                <?php echo form_error('username', '<div class="form_error">', '</div>'); ?>
                                <input name="username" id="usernameauto" placeholder="<?=lang('label_username')?>" value="<?= set_value('username') ?>" type="text" />

                            </div>

                            <div class="input">
                                <label for="Address">
                                    <?=lang('label_address')?>
                                </label>
                                <?php echo form_error('address', '<div class="form_error">', '</div>'); ?>
                                <textarea name="address" id="address" style="height: 70px;" placeholder="<?=lang('label_address')?>"  ><?= set_value('address') ?></textarea>
                            </div>

                           

                            <div class="input">
                           
                               
                              
                                <input type="checkbox" id="default" name="default" <? if(set_value('default') == 'YES'){ ?> checked="checked" <? } ?>  value="YES" class="normal-check">
                                 <label for="default"><?=lang('label_default')?></label>
                            </div>
                        </div>





                    </div>
                    <div class="form-actions form-actionss">

                        <button type="submit" class="btn btn-primary"> <i class="icon-plus"></i>   <?=lang('label_add')?></button>

                    </div>



                </div>
            </div>
        </div>
    </div>

</form>
